<style>
.win {
	color: Green;
}
.lost {
	color: Fuchsia;
}
.btnchoice {
	padding: 2pt 2pt 2pt 2pt;
	border: 1pt solid #aaa;
	cursor: pointer;
}
.btnchoiced {
	padding: 2pt 2pt 2pt 2pt;
	border: 1px solid Lime;
	background-color: Green;
	color: white;
}
.rate {font-weight:bold; color:red; font-family:Tahoma}
.td1red {
	background-color:#FFF9B6;color:red;font-weight:bold;text-align:center;
}
.td1blue {
	background-color:#FFF9B6;color:blue;font-weight:bold;text-align:center;
}
.td1green {
	background-color:#FFF9B6;color:green;font-weight:bold;text-align:center;
}
</style>
<script src="js_3d/showRateRecord.js"></script>
<div id="divRateRecord"></div>
<div id="divRatePanel"></div>

<script src="scr/{jslang}/now9.js"></script>
{menuList}
<br>
<span id="hktime"></span>，<span id="countdownstr"></span>&#12288;&#12288;
<input type=button value="资料刷新" onclick=timer() onmouseout="this.style.color='';" onmouseover="this.style.color='#0CDDFF';">

<table width="900" border=0 cellpadding=5 cellspacing=0>
<tr valign=top cellpadding=5><td><div id=div0></div></td></tr>
<tr valign=top cellpadding=5><td><b>整合：特码ＡＢ，单双大小，特尾大小，特头尾，合单双，合尾大小，家禽野兽，生肖、合肖、色波及半波的预估输赢结果</b></td></tr>
</table>

<script>
_id = {lotto_id};
_open = "{open}";

_tb5head = "<td nowrap>号码</td><td nowrap>预估输赢</td><td nowrap>赔率</td>";
_status = "更新资料中.....";

function nowdate()
{
	document.all.hktime.innerHTML = "香港时间：<b>"+now.getDate()+"日"+d2(now.getHours())+":"+d2(now.getMinutes())+":"+d2(now.getSeconds())+"</b>";
	now.setTime(now.getTime() + 1000);
}

function countdown()
{
	var str = "<font color=red><b>已经截止下注！</b></font>";
	timediff = timestap;
	if (timestap >= 0) {
		days = Math.floor(timediff / (60 * 60 * 24));
		timediff -= days * (60 * 60 * 24);
		hours = Math.floor(timediff / (60 * 60));
		timediff -= hours * (60 * 60);
		mins = Math.floor(timediff / (60));
		timediff -= mins * (60);
		secs = Math.floor(timediff);
	
		str = "距离截止下注时间还有 ";
		if (days > 0 ) str += "<b>" + days + "</b> 天 ";
		if (hours > 0) str += "<b>" + hours + "</b> 小时 ";
		if (mins > 0) str += "<b>" + mins + "</b> 分钟 ";
		str += "<b>" + secs + "</b> 秒 ";
		timestap-=1;
	}
	countdownstr.innerHTML =  str;
}

var timestap = {timestap};
var now = new Date(1000 * {phptime});

setInterval("nowdate()", 1000);
setInterval("countdown()", 1000);

</script>